<template>
    <div class="shopcar">
        <header>
            <span><van-icon name="arrow-left" /></span>
            <p>购物车</p>
            <span></span>
        </header>
        <section>

        </section>
        <footer>
            <div class="carBot">
                <p><input type="checkbox">全选</p>
                <span>合计：¥0</span>
            </div>
            <button class="payBtn">去结算</button>
        </footer>
    </div>
</template>
<script>
    export default {

    }
</script>
<style lang="less" scoped>
    .shopcar{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        input{
            width: 0.4rem;
            height: 0.4rem;
            -webkit-appearance: none;
            background: url("/images/check_03.gif");
            background-size: 100% 100%;
        }
        input:checked{
            background: url("/images/check_07.gif");
            width: 0.4rem;
            height: 0.4rem;
            background-size: 100% 100%;
        }
        header{
            width: 100%;
            height: 1rem;
            display: flex;
            border-bottom: 1px solid #efefef;
            span{
                width: 1rem;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 0.4rem;
            }
            p{
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 0.32rem;
            }
        }
        footer{
            width: 100%;
            height: 1rem;
            position: fixed;
            bottom: 1rem;
            left: 0;
            display: flex;
            .carBot{
                width: 70%;
                height: 1rem;
                line-height: 1rem;
                display: flex;
                padding: 0 0.2rem;
                box-sizing: border-box;
                p{
                    width: 2rem;
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                }
                span{
                    flex: 1;
                    text-align: right;
                }
            }
            .payBtn{
                flex: 1;
                background: #bfbfbf;
                border: none;
                color: white;
            }
        }
    }
</style>
